import { request } from "@/request";

export async function addOrUpdate(data) {
  return request("/admin/adminAddress/update", {
    method: "POST",
    data,
  });
}

export async function fetchInfo(data) {
  return request("/admin/adminAddress/getAddressInfo", {
    method: "POST",
    data,
  });
}


